// -*- c-basic-offset: 2 default-tab-width: 2 indent-tabs-mode: t -*-
// vim: autoindent tabstop=2 noexpandtab shiftwidth=2 softtabstop=2
// vim: set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: 
#include "eval.h"
#include "fatal.h"

static void usage(int argc, char** argv) {
	fprintf(stderr, "Usage: %s R-file\n", argv[0]);
	exit(42);
}

int main(int argc, char **argv){
	R::VM* vm;

	if(argc < 2)
		usage(argc, argv);

	vm = new R::VM();

	vm->run(argv[1]);

	return 0;
}
